package com.py;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Random;
import java.util.TimerTask;

public class TimeTask extends TimerTask {
    private static Logger logger = LoggerFactory.getLogger(TimeTask.class);

    @Override
    public void run(){
        logger.info("实时数据上传-开始");
        Random random = new Random();
        String [] rqTotalCmds = {"curl","-X","POST","-H",
                "\"Content-Type: application/json\"","-H",
                "\"referer:http://127.0.0.1\"",
                "http://127.0.0.1:6201/metrics/listSetValue",
                "-d",
                "\'{\"metricList\":[{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400009\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400010\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400011\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400012\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400013\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400014\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400015\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400001\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400002\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400003\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400004\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400005\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400006\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400007\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"},{\"name\":\"rq_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400008\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+100)+"\"}]}\'"
        };
        String [] successTotalCmds = {"curl","-X","POST","-H",
                "\"Content-Type: application/json\"","-H",
                "\"referer:http://127.0.0.1\"",
                "http://127.0.0.1:6201/metrics/listSetValue",
                "-d",
                "\'{\"metricList\":[{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400009\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400010\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400011\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400012\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400013\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400014\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400015\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400001\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400002\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400003\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400004\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400005\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400006\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400007\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_sys_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400008\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"}]}\'"
        };
        String [] bizTotalCmds = {"curl","-X","POST","-H",
                "\"Content-Type: application/json\"","-H",
                "\"referer:http://127.0.0.1\"",
                "http://127.0.0.1:6201/metrics/listSetValue",
                "-d",
                "\'{\"metricList\":[{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400009\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400010\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400011\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400012\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400013\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400014\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400015\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400001\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400002\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400003\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400004\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400005\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400006\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400007\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"},{\"name\":\"rq_biz_success_total\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400008\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(101)+50)+"\"}]}\'"
        };
        String [] avgRespcCmds = {"curl","-X","POST","-H",
                "\"Content-Type: application/json\"","-H",
                "\"referer:http://127.0.0.1\"",
                "http://127.0.0.1:6201/metrics/listSetValue",
                "-d",
                "\'{\"metricList\":[{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400009\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400010\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400011\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400012\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400013\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400014\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400015\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400001\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400002\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400003\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400004\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400005\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400006\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400007\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"},{\"name\":\"rq_avg_resp_time\",\"labelNames\":[\"api_code\",\"ability_code\",\"scenario_code\",\"rq_service_orgid\",\"rq_appid\",\"ability_type\"],\"labels\":[\"S10063400008\",\"A100600080\",\"B99999999999\",\"00634\",\"00634001\",\"API\"],\"value\":\""+(random.nextInt(51)+50)+"\"}]}\'"
        };
        String s = "";
        String s1 = "";
        String s2 = "";
        String s3 = "";
        for (int i =0;i<rqTotalCmds.length;i++){
            s=s+rqTotalCmds[i]+" ";
            s1=s1+successTotalCmds[i]+" ";
            s2=s2+bizTotalCmds[i]+" ";
            s3=s3+avgRespcCmds[i]+" ";
        }
//        System.out.println(s);
        CurlUtil.execCurl(new String[]{"/bin/sh","-c",s});
        CurlUtil.execCurl(new String[]{"/bin/sh","-c",s1});
        CurlUtil.execCurl(new String[]{"/bin/sh","-c",s2});
        CurlUtil.execCurl(new String[]{"/bin/sh","-c",s3});
        logger.info("上传完毕");
    }
}
